package com.soviet.boot.common.exception;

/**
 * @Author Dave
 * @Date 2021/7/19
 * @Description 自定义异常类
 */
public class ServiceException extends RuntimeException {
    Integer code;
    String msg;

    public ServiceException(String msg) {
        super(msg);
    }

    public ServiceException(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

}
